package com.bluedot.queue.impl;

import com.bluedot.queue.OutQueue;


/**
 * mapper向service传递返回结果使用的队列<br/>
 * 属性及方法都在父类中完成定义及实现,这个类主要作用是提供实现及维护单例
 */

public class MapperServiceQueue extends OutQueue {

    private MapperServiceQueue() {
    }

    public static MapperServiceQueue getInstance() {
        return QueueHolder.mapperServiceQueue;
    }

    private static class QueueHolder {

        private static final MapperServiceQueue mapperServiceQueue = new MapperServiceQueue();
    }
}
